package com.gs.pdf.to.word.model;

public class TextChunk {
    public final String text;
    public final float x, y;
    public final float fontSize;
    public final boolean bold;
    public final boolean italic;
    public final String fontName;

    public TextChunk(String text, float x, float y, float fontSize,
                     boolean bold, boolean italic, String fontName) {
        this.text = text;
        this.x = x;
        this.y = y;
        this.fontSize = fontSize;
        this.bold = bold;
        this.italic = italic;
        this.fontName = fontName;
    }
}